package com.yunke.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 管理员VO
 * 
 * @author yunke
 * @since 1.0.0
 */
@Data
@Schema(name = "YunkeAdminVo", description = "管理员VO")
public class YunkeAdminVo {

    @Schema(description = "管理员ID")
    private Long id;

    @Schema(description = "用户名")
    private String username;

    @Schema(description = "昵称")
    private String nickname;

    @Schema(description = "头像")
    private String avatar;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "角色ID列表")
    private String roleIds;

    @Schema(description = "角色列表")
    private List<YunkeRoleVo> roles;

    @Schema(description = "部门ID")
    private Long departmentId;

    @Schema(description = "部门名称")
    private String departmentName;

    @Schema(description = "职位")
    private String position;

    @Schema(description = "权限列表")
    private List<String> permissions;

    @Schema(description = "账户状态（0正常 1禁用 2锁定）")
    private Integer accountStatus;

    @Schema(description = "账户状态描述")
    private String accountStatusText;

    @Schema(description = "是否超级管理员")
    private Boolean isSuperAdmin;

    @Schema(description = "最后登录时间")
    private Long lastLoginTime;

    @Schema(description = "最后登录IP")
    private String lastLoginIp;

    @Schema(description = "登录次数")
    private Integer loginCount;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建人昵称")
    private String creatorName;

    @Schema(description = "创建时间")
    private Long createTime;

    @Schema(description = "更新时间")
    private Long updateTime;
} 